
export interface Requirement {
    id: any;
    roleCaseId: any;
    value: string;
}

export interface FailMode {
    id: any;
    modeDesc: string;
    ctrlPlans: CtrlPlan[];
    isExpanded: boolean;
}

export interface CtrlPlan {
    id: any;
    spec: string;
    capacityId: any;
    capacityCn: string;
    frequencyValues?: string[];
    reactionPlanValues?: string[];
    frequencies: Frequency[];
    reactionPlans: ReactionPlan[];
}

export interface Capacity {
    id: any;
    cnDesc: string;
    enDesc?: string;
}

export interface Frequency {
    id: any;
    cnDesc: string;
    enDesc?: string;
}

export interface ReactionPlan {
    id: any;
    cnDesc: string;
    enDesc?: string;
}

export interface DtoCtrlPlan {
    cpId:number;
    cpSpec:string;
    capacityId:number;
    capacityCn:string;
    frequencyList:Frequency[];
    reactionPlanList:ReactionPlan[];
}

export interface DtoFailMode4requirementList {
    fmId:number;
    fmDesc:string;
    ctrlPlans:DtoCtrlPlan[];
}

export interface DtoRequirementDetails {
    id: any;
    roleCaseId: number;
    value: string;
    department?: {
        id?: number;
        nameCn?: string;
    };
    role?: {
        id?: number;
        name?: string;
    };
    business?: {
        id?: number;
        name?: string;
        roleCaseId?: number;
    };
    dtoFailMode4requirementList:DtoFailMode4requirementList[];
}